package data;

import java.io.File;

/**
 * 
 * @author Benjamin GOUIT et David SOLO RABRIMANANA
 *
 */
public class FileChat implements Comparable {
	
	private File file = null;
	private int id;
	private String addr;
	
	/**
	 * Constructeur
	 * @param file
	 * @param id
	 * @param addr
	 */
	public FileChat(File file, int id, String addr) {
		this.file = file;
		this.id = id;
		this.addr = addr;
	}	
	
	/**
	 * Getter de file
	 * @return
	 */
	public File getFile() {
		return file;
	}

	/**
	 * Getter de l'ID
	 * @return
	 */
	public int getID() {
		return id;
	}

	/**
	 * Getter de l'adresse
	 * @return
	 */
	public String getAddr() {
		return addr;
	}

	/**
	 * Fonction de comparaison entre 2 fichiers
	 */
	@Override
	public int compareTo(Object arg0) {
		return 0;
	}
}
